package com.csjbot.weedle_auto.fragment.manual

import com.csjbot.weedle_auto.SerialServer.util.bean.SerialPortEvents
import com.csjbot.weedle_auto.base.BasePresenter
import com.csjbot.weedle_auto.base.BaseView

/**
 * author : chenqi.
 * e_mail : 1650699704@163.com.
 * create_time : 8/21/17.
 */

interface ManualContract {
    interface view : BaseView<presenter> {
        fun showSerialResults()
        fun touch(msg: String)
        fun snUp(msg: String)
        fun snDown(msg: String)
        fun other(scr: Int, inr: String, plate_inr: String, oa: Int)
        fun showTestResults(scr: String, inr: String, plate: String, oa: String, tuch: String, snUp: String, snDown: String)
    }

    interface presenter : BasePresenter {
        fun setSerialPortInforMation(serialPortInformMotion: SerialPortEvents)
    }
}
